package com.microsoft.tag.client.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 软件著作权:王艳明
 * 系统名称:SpringBoot后台管理系统
 *
 * @author WangYanming
 * @ClassName 类:ClientUserApplication.java
 * @Description 功能描述:client user 启动类
 * @Version 1.0
 * @date 2025-10-15 上午 09:13
 */
@SpringBootApplication
// 启动服务发现
@EnableDiscoveryClient
// 启用feign客户端,使用@FeignClinet时会自动集成负载均LoadBalancer也可以自定义负载均衡策略
@EnableFeignClients(basePackages = {"com.microsoft.tag.client.user.feign"})
public class ClientUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(ClientUserApplication.class, args);
    }
}
